/**
 * Alipay.com Inc. Copyright (c) 2004-2010 All Rights Reserved.
 */
package org.mobile.model.util;

/**
 * @author youmeng
 * @version $Id: Constants.java,v 1.13 2012/02/09 05:36:46 chenc Exp $
 */
public class Constants {
    /**
     * 渠道标志 空 wap 1 wap
     */
    public static final String API_CHANNEL = "api_Channel";

    public static final String PARAMS = "params";

    /**
     * api constants
     */
    public static final String API_NAME = "api_name";
    public static final String API_REQUEST_PARAMS = "params";
    public static final String SESSION_ID = "SessionID";
    public static final String API_SESSION_ID = "session_id";
    public static final String API_APP_ID = "app_id";
    public static final String API_APP_KEY = "app_key";
    public static final String API_CLIENT_SESSION = "client_session";
    public static final String API_CLIENT_SESSION_USER_ID = "user_id";
    public static final String API_USER_TYPE = "user_type";

    /**
     * 管理员Session
     */
    public static final String ADMIN_SESSION = "pt_admin";

    /**
     * file upload root directory
     */
    public static final String API_UPLOAD_ROOT = "/opt/app/apache-tomcat-test-ezjt-doctor-10710/webapps/picture/";

    /**
     * api flow
     */

    public static final String CLIENT_CHANNEL = "api_Channel";
    public static final String CLIENT_MOBILE = "client_mobile";
    public static final String CLIENT_MOBILE_TYPE = "T";
    public static final String CLIENT_MOBILE_SDK = "client_mobile_sdk";
    public static final String CLIENT_MOBILE_VERSION = "V";
    public static final String CLIENT_DATE = "client_date";
    public static final String CLIENT_TRANSNAME = "api_name";
    public static final String IP = "ip";
    public static final String PARAM_ID = "param_id";
    public static final String TMP1 = "tmp1";
    public static final String TMP2 = "tmp2";
    public static final String TMP3 = "tmp3";
    public static final String TMP4 = "tmp4";
    public static final String TMP5 = "tmp5";

    /**
     * 缓存标识，为防止在同一缓存的不同项目间冲突
     */
    public static final String CACHE_TAG = "pt_zsyy.cache-";
    /**
     * 验证码和找回密码的缓存时间（分钟）
     */
    public static final Integer CODE_CACHED_TIME = 10 * 60;

    public static final String ZSHT_PT = "pt";

    /**
     * zsht doctor cached
     */
    public static final String ZSHT_DOCTOR = "zsht-doctor";

    /**
     * api constants
     */
    /**
     * 交易代码
     */
    public static final String TX = "TX";
    /**
     * 验证代码
     */
    public static final String K = "K";
    /**
     * 用户会话
     */
    public static final String S = "S";
    /**
     * 用户标识
     */
    public static final String U = "U";
    /**
     * 客户端类型
     */
    public static final String T = "T";
    /**
     * 用客户端版本
     */
    public static final String V = "V";
    /**
     * 设备号
     */
    public static final String D = "D";
    /**
     * 返回代码
     */
    public static final String R = "R";
    /**
     * 返回错误描述（开发）
     */
    public static final String M = "M";
    /**
     * 返回错误描述（用户）
     */
    public static final String I = "I";
    /**
     * 掌上华佗session缓存
     */
    public static final String CACHE_SESSION_ZSHT="CACHE_SESSION_ZSHT"; 
    
    public static final String SRM_IMG_URL = "http://ezjt.zwjk.com:5626/picture/";
}
